package com.microcore.device.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.Data;

import java.util.List;

/**
 * @author FengJie
 * @date 2018/8/17
 */
@Data
public class Items {
    @XStreamAlias("Item")
    @XStreamImplicit
    private List<Item> itemList;

    @XStreamAlias("Type")
    @XStreamAsAttribute
    private String type;
}